home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 February / maximum-cd-2001-02.iso / Team Arena / TeamArenaDemo.exe / Main / pak0.pk3 / ui / ingame_options.menu < prev    next >
Encoding:
Text File  |  2000-11-22  |  8.7 KB  |  470 lines

  1. #include "ui/menudef.h"
  2.  
  3. {
  4. \\ SETUP MENU \\
  5.  
  6. menuDef {
  7.         name "ingame_options"
  8.         visible 0
  9.         fullscreen 0
  10.             outOfBoundsClick            // this closes the window if it gets a click out of the rectangle
  11.         rect 265 30 210 375
  12.         focusColor 1 .75 0 1
  13.         style 1
  14.         border 1
  15.     disableColor .5 .5 .5 0
  16.  
  17. itemDef {
  18.     name window
  19.     rect 10 15 200 360
  20.     style 1
  21.     backcolor 0 .1 0 1
  22.     visible 1
  23.     decoration
  24.     }
  25.  
  26. // FRAME    //
  27.  
  28.  
  29. itemDef {
  30.     name window
  31.     rect 0 10 64 64
  32.     style 3
  33.     background "ui/assets/ingameleftcorner.tga"
  34.     visible 1
  35.     decoration
  36.     }
  37. itemDef {
  38.     name window
  39.     rect 64 10 32 8
  40.     style 3
  41.     background "ui/assets/ingametop.tga"
  42.     visible 1
  43.     decoration
  44.     }
  45. itemDef {
  46.     name window
  47.     rect 144 10 32 8
  48.     style 3
  49.     background "ui/assets/ingametop.tga"
  50.     visible 1
  51.     decoration
  52.     }
  53.  
  54. itemDef {
  55.     name window
  56.     rect 157 10 64 64
  57.     style 3
  58.     background "ui/assets/ingamerightcorner.tga"
  59.     visible 1
  60.     decoration
  61.     }
  62. itemDef {
  63.     name window
  64.     rect 74 0 73 16
  65.     style 3
  66.     background "ui/assets/ingameconnection.tga"
  67.     visible 1
  68.     decoration
  69.     }
  70. itemDef {
  71.     name window
  72.     rect 0 314 64 64
  73.     style 3
  74.     background "ui/assets/ingameleftcornerb.tga"
  75.     visible 1
  76.     decoration
  77.     }
  78. itemDef {
  79.     name window
  80.     rect 157 314 64 64
  81.     style 3
  82.     background "ui/assets/ingamerightcornerb.tga"
  83.     visible 1
  84.     decoration
  85.     }
  86.  
  87. itemDef {
  88.     name window
  89.     rect 0 64 16 84
  90.     style 3
  91.     background "ui/assets/ingameleft.tga"
  92.     visible 1
  93.     decoration
  94.     }
  95.  
  96.  
  97. itemDef {
  98.     name window
  99.     rect 0 148 16 84
  100.     style 3
  101.     background "ui/assets/ingameleft.tga"
  102.     visible 1
  103.     decoration
  104.     }
  105.  
  106. itemDef {
  107.     name window
  108.     rect 0 232 16 84
  109.     style 3
  110.     background "ui/assets/ingameleft.tga"
  111.     visible 1
  112.     decoration
  113.     }
  114.  
  115. itemDef {
  116.     name window
  117.     rect 205 64 16 84
  118.     style 3
  119.     background "ui/assets/ingameright.tga"
  120.     visible 1
  121.     decoration
  122.     }
  123.  
  124.  
  125. itemDef {
  126.     name window
  127.     rect 205 148 16 84
  128.     style 3
  129.     background "ui/assets/ingameright.tga"
  130.     visible 1
  131.     decoration
  132.     }
  133. itemDef {
  134.     name window
  135.     rect 205 232 16 84
  136.     style 3
  137.     background "ui/assets/ingameright.tga"
  138.     visible 1
  139.     decoration
  140.     }
  141.  
  142.  
  143. itemDef {
  144.     name window
  145.     rect 64 370 64 8
  146.     style 3
  147.     background "ui/assets/ingamebottom.tga"
  148.     visible 1
  149.     decoration
  150.     }
  151. itemDef {
  152.     name window
  153.     rect 128 370 64 8
  154.     style 3
  155.     background "ui/assets/ingamebottom.tga"
  156.     visible 1
  157.     decoration
  158.     }
  159.  
  160.  
  161.  
  162. itemDef {
  163.               name options
  164.         group grpOptions
  165.               type ITEM_TYPE_YESNO
  166.         text "Simple Items:"
  167.         cvar "cg_simpleItems"
  168.         rect 0 20 200 20
  169.               textalign ITEM_ALIGN_RIGHT
  170.               textalignx 143
  171.               textaligny 17
  172.         textscale .25        
  173.               forecolor 1 1 1 1
  174.               visible 1 
  175.             }
  176.  
  177.     itemDef {
  178.               name options
  179.         group grpOptions
  180.               type ITEM_TYPE_YESNO
  181.         text "Marks On Walls:"
  182.         cvar "cg_marks"
  183.         rect 0 37 200 20
  184.               textalign ITEM_ALIGN_RIGHT
  185.               textalignx 143
  186.               textaligny 17
  187.         textscale .25        
  188.               forecolor 1 1 1 1
  189.               visible 1 
  190.             }
  191.     itemDef {
  192.               name options
  193.         group grpOptions
  194.               type ITEM_TYPE_YESNO
  195.         text "Show Floating Scores:"
  196.         cvar "cg_scorePlums"
  197.         rect 0 54 200 20
  198.               textalign ITEM_ALIGN_RIGHT
  199.               textalignx 143
  200.               textaligny 17
  201.         textscale .25        
  202.               forecolor 1 1 1 1
  203.               visible 1 
  204.             }
  205.     
  206.     itemDef {
  207.               name options
  208.         group grpOptions
  209.               type ITEM_TYPE_MULTI    
  210.         text "Ejecting Brass:"
  211.         cvar "cg_brassTime"
  212.         cvarFloatList { "High" 2500 "Med" 1250 "Off" 0 }
  213.         rect 0 71 200 20
  214.               textalign ITEM_ALIGN_RIGHT
  215.               textalignx 143
  216.               textaligny 17
  217.         textscale .25        
  218.               forecolor 1 1 1 1
  219.               visible 1 
  220.             }
  221.  
  222.     itemDef {
  223.               name options
  224.         group grpOptions
  225.               type ITEM_TYPE_YESNO
  226.         text "Dynamic Lights:"
  227.         cvar "r_dynamiclight"
  228.         rect 0 88 200 20
  229.               textalign ITEM_ALIGN_RIGHT
  230.               textalignx 143
  231.               textaligny 17
  232.         textscale .25        
  233.               forecolor 1 1 1 1
  234.               visible 1 
  235.             }
  236.  
  237.     itemDef {
  238.               name options
  239.         group grpOptions
  240.               type ITEM_TYPE_YESNO
  241.         text "Identify Target:"
  242.         cvar "cg_drawCrosshairNames"
  243.         rect 0 105 200 20
  244.               textalign ITEM_ALIGN_RIGHT
  245.               textalignx 143
  246.               textaligny 17
  247.         textscale .25        
  248.               forecolor 1 1 1 1
  249.               visible 1 
  250.             }
  251.  
  252.     itemDef {
  253.               name options
  254.         group grpOptions
  255.               type ITEM_TYPE_YESNO
  256.         text "Draw Gun:"
  257.         cvar "cg_drawGun"
  258.         rect 0 122 200 20
  259.               textalign ITEM_ALIGN_RIGHT
  260.               textalignx 143
  261.               textaligny 17
  262.         textscale .25        
  263.               forecolor 1 1 1 1
  264.               visible 1 
  265.             }
  266.  
  267.     itemDef {
  268.               name options
  269.         group grpOptions
  270.               type ITEM_TYPE_YESNO
  271.         text "Low Quality Sky:"
  272.         cvar "r_fastsky"
  273.         rect 0 139 200 20
  274.               textalign ITEM_ALIGN_RIGHT
  275.               textalignx 143
  276.               textaligny 17
  277.         textscale .25        
  278.               forecolor 1 1 1 1
  279.               visible 1 
  280.             }
  281.  
  282.     itemDef {
  283.               name options
  284.         group grpOptions
  285.               type ITEM_TYPE_YESNO
  286.         text "Sync Every Frame:"
  287.         cvar "weapon 5"
  288.         rect 0 156 200 20
  289.               textalign ITEM_ALIGN_RIGHT
  290.               textalignx 143
  291.               textaligny 17
  292.         textscale .25        
  293.               forecolor 1 1 1 1
  294.               visible 1 
  295.             }
  296.     
  297.     itemDef {
  298.               name options
  299.         group grpOptions
  300.               type ITEM_TYPE_YESNO
  301.         text "Force Player Models:"
  302.         cvar "cg_forceModel"
  303.         rect 0 173 200 20
  304.               textalign ITEM_ALIGN_RIGHT
  305.               textalignx 143
  306.               textaligny 17
  307.         textscale .25        
  308.               forecolor 1 1 1 1
  309.               visible 1 
  310.             }
  311.  
  312.     itemDef {
  313.               name options
  314.         group grpOptions
  315.               type ITEM_TYPE_YESNO
  316.         text "Draw Team Overlay:"
  317.         cvar "cg_drawTeamOverlay"
  318.         rect 0 190 200 20
  319.               textalign ITEM_ALIGN_RIGHT
  320.               textalignx 143
  321.               textaligny 17
  322.         textscale .25        
  323.               forecolor 1 1 1 1
  324.               visible 1 
  325.             }
  326.     itemDef {
  327.               name options
  328.         group grpOptions
  329.               type ITEM_TYPE_YESNO
  330.         text "Auto Download:"
  331.         cvar "cl_allowDownload"
  332.         rect 0 207 200 20
  333.               textalign ITEM_ALIGN_RIGHT
  334.               textalignx 143
  335.               textaligny 17
  336.         textscale .25        
  337.               forecolor 1 1 1 1
  338.               visible 1 
  339.             }
  340.     itemDef {
  341.               name options
  342.         group grpOptions
  343.               type ITEM_TYPE_YESNO
  344.         text "Show Time:"
  345.         cvar "cg_drawTimer"
  346.         rect 0 224 200 20
  347.               textalign ITEM_ALIGN_RIGHT
  348.               textalignx 143
  349.               textaligny 17
  350.         textscale .25        
  351.               forecolor 1 1 1 1
  352.               visible 1 
  353.             }
  354. itemDef {
  355.               name options                
  356.         group grpOptions
  357.               type ITEM_TYPE_YESNO
  358.         text "Voices Off:"
  359.         cvar "cg_NoVoiceChats"
  360.         rect 0 241 200 20
  361.               textalign ITEM_ALIGN_RIGHT
  362.               textalignx 143
  363.               textaligny 17
  364.         textscale .25        
  365.               forecolor 1 1 1 1
  366.               visible 1 
  367.             }
  368. itemDef {
  369.               name options                
  370.         group grpOptions
  371.               type ITEM_TYPE_YESNO
  372.         text "Taunts Off:"
  373.         cvar "cg_noTaunt"
  374.         rect 0 258 200 20
  375.               textalign ITEM_ALIGN_RIGHT
  376.               textalignx 143
  377.               textaligny 17
  378.         textscale .25        
  379.               forecolor 1 1 1 1
  380.               visible 1 
  381.             }
  382. itemDef {
  383.               name options                
  384.         group grpOptions
  385.               type ITEM_TYPE_YESNO
  386.         text "Voice Text Off:"
  387.         cvar "cg_noVoiceText"
  388.         rect 0 275 200 20
  389.               textalign ITEM_ALIGN_RIGHT
  390.               textalignx 143
  391.               textaligny 17
  392.         textscale .25        
  393.               forecolor 1 1 1 1
  394.               visible 1 
  395.             }
  396.  
  397. itemDef {
  398.               name options                
  399.         group grpOptions
  400.               type ITEM_TYPE_YESNO
  401.         text "Team Chats Only:"
  402.         cvar "cg_teamChatsOnly"
  403.         rect 0 292 200 20
  404.               textalign ITEM_ALIGN_RIGHT
  405.               textalignx 143
  406.               textaligny 17
  407.         textscale .25        
  408.               forecolor 1 1 1 1
  409.               visible 1 
  410.             }
  411.  
  412. itemDef {
  413.               name options                
  414.         group grpOptions
  415.               type ITEM_TYPE_MULTI    
  416.         text "Statusbar:"
  417.         cvar "cg_hudfiles"
  418.         cvarStrList { Normal "ui/hud.txt" Small "ui/hud2.txt" }
  419.         rect 0 309 200 20
  420.               textalign ITEM_ALIGN_RIGHT
  421.               textalignx 143
  422.               textaligny 17
  423.         textscale .25        
  424.               forecolor 1 1 1 1
  425.               visible 1 
  426.         action { exec "loadhud" }
  427.             }
  428.  
  429. itemDef {
  430.               name options                
  431.         group grpOptions
  432.               type ITEM_TYPE_YESNO
  433.         text "In Game Videos:"
  434.         cvar "r_inGameVideo"
  435.         rect 0 326 200 20
  436.               textalign ITEM_ALIGN_RIGHT
  437.               textalignx 143
  438.               textaligny 17
  439.         textscale .25        
  440.               forecolor 1 1 1 1
  441.               visible 1 
  442.             }
  443.  
  444.  
  445. itemDef {
  446.               name options                
  447.         group grpOptions
  448.         text "Crosshair:"
  449.         ownerdraw UI_CROSSHAIR
  450.         rect 143 343 20 17
  451.               textalign ITEM_ALIGN_RIGHT
  452.               textalignx 0 
  453.               textaligny 17
  454.         textscale .25        
  455.               forecolor 1 1 1 1
  456.               visible 1 
  457.             }
  458.  
  459.  
  460.  
  461.  
  462.     
  463.     
  464.  
  465.  
  466. }
  467.  
  468.  
  469. }
  470.